package gov.nih.nlm.lowlinc.accessionwrapper;

import gov.nih.nlm.lowlinc.owlapi.LowlincException;

public class UMLScui extends ConceptID {

	public UMLScui(String id) throws LowlincException {
		super(id);

	}

	protected void validateID() throws LowlincException {
		if (!getID().startsWith("C")) {
			throw new LowlincException(getID() + " does not start with C");
		}
	}

	@Override
	public String toString() {
		return "UMLS cui (" + getID() + ")";
	}

}
